<template>
    <div class="page-box">
			<dataList
				placeholder="请输入项目名称"
				:pageInfo="pager"
				:listData="tableData"
				:selectData="selectDataArr"
				searchName="projectName"
				:menuList="[]"
			>
				<el-table :data="tableData" align="center" ref="multipleTable" @selection-change="$event => (selectDataArr = $event)">
					<el-table-column label="项目编号" width="220" prop="projectCode">
              <template slot-scope="scope">
                  <span>{{scope.row.projectCode}}</span>
                  <img :src="NewIcon" class="imgIcon">
              </template>
          </el-table-column>
          <el-table-column label="项目名称" width="150" prop="projectName"></el-table-column>
          <el-table-column label="项目类型" width="150" prop="projectType" :formatter="formateProjectType"></el-table-column>
          <el-table-column label="项目面积(m²)" width="120" prop="projectArea"></el-table-column>
          <el-table-column label="建设单位" width="120" prop="constructionUnit"></el-table-column>
          <el-table-column label="管理权属" width="120" :formatter="formateBelong" prop="manageUnit"></el-table-column>
          <el-table-column label="地址" width="150">
              <template slot-scope="scope">{{ scope.row.address }}{{ scope.row.addressInfo}}</template>
          </el-table-column>
					<el-table-column width="100px" label="操作">
						<template slot-scope="scope">
							<el-button type="text" v-if="edit_but" @click="handlePerfectInformation(scope.row)">接收</el-button>
						</template>
					</el-table-column>
				</el-table>
			</dataList>
    </div>
</template>

<script src="./index.js">

</script>

<style scoped lang="scss">

.imgIcon {
    width: 28px;
    height: 26px;
    margin-left: 10px;
}
</style>
